Added preconfigure step.
Added update to preconfigure