initial commit of resolution switching plugin