moved script to front