Added precompilation step to run scripts