Added merge_template script