Addition of script containing the main class, security class and html elements