Changed work folder to 'work' in compile.sh