Changing exec rehash to exec --rehash.