Fixed bug where if destination was unspecified, changed would not be set, resulting in an UnboundLocalError.