mac specific code for wizard