Update functions.sh

.drush directorx permissions fixed