fixed chef client for role script, added environment template script