auto install and remove image