added pgrep, changed permissions