make parse a function and streamline starcluster scripts