Modifying compile.py to take a version parameter, which defaults to 'latest'