Compile and Encrypt Scripts