Finally got scripts to work, ended up needing to put them into the footer php file like suggested