splitting up scripts