add support for changing the remote filename