if [ -d /tmp/tcloop/APPNAME ]; then
   rm -f /usr/bin/python
   /bb/cp -af /tmp/tcloop/APPNAME/usr/bin/python /usr/bin/python
   rm -r /usr/bin/pycompile
   /bb/cp -af /tmp/tcloop/APPNAME/usr/bin/pycompile /usr/bin/pycompile
fi