updated controller script
merged dcrm puppet script