Moved script to footer