Script functionality
merging