modified scan toggle object to allow for set up