moved script to bottom