renamed main script with "template" in name