Deploy script and Compile