modifications to work with grunt