Added script files, localized variables, instatiated sc