UBI/ubiattach things from tom3q's repository..