split script up into seperate files