split up the css file and checked for specific times to include the scripts