Added ivy.xml cleanup to offline script.