Updated webapp_setup to check for the existence of files prior to setting environment variables

A warning is issued if the file/directory is not found.
The environment variable is always set.