clean up concatenated scripts