Pete's changes

Addition of Python compiling on device