sun morn sync

script cleaning and creation for templateing cont.