update folderPath to fit remote folder