updated script and added demo of multiple remote files