making import remote file work