changes to load_scripts_and_styles