resolve issue #1 - use dw getBaseURL() instead of using the  array directly to account for differences in host setups and php versions