Finished gear.factory and convert toggle plugin