refactor settings usage
grunt