added grunt
dev flag only used in one place now, no need for a safety constant