splitting scripts up