Resolving issues within the drush BASH script