tweaked setup script to take remote base arg