Cleaned up compile.py