added swap src-dest images flag