moved script addition to gamemanager