changed the script tags to the bottom