script moved to the bottom of index