Fix issue with scripts grunt task.