Added scripts to the bottom so initial load is faster