added grep and some parameters to config