changing how were enqueueing scripts and styles by only doing it on load-$pagehook