corrected paths for local and remote viewing