added script to compile