Update image transfer script to construct valid urls