based on http://www.sitepoint.com/writing-awesome-build-script-grunt/