1. A method for producing an application, comprising: scanning an application file for script code; extracting the script code from the application file; inserting a code reference tag in the application file in place of the extracted script code; compiling the extracted script code to produce compiled code; and combining the compiled code and the application file.