updated clone_template script for all providers