Moved script out of body