moved script out