edit script for grunt