added swap use script