Merging custom scripts