Added conditional for gallery script tags to only get loaded on photography and video page. Form is still not working