added grep rails and find and replace