updated the code to grep for single dangerous function. To-Do: add regex support