modifying wpro plugin to return working path for file uploads