minor updates to run on GoDaddy and PHP 5.4