Adds guard to development

Note: there is a 2>/dev/null to deal with the windows cookbook having
deprecated matchers
Update assignment code to be cleaner
Cleanup assignment code