Adds flatten param to grunt