Updating init scripts to have more robust grepping