added script to compile and execute