Recover, prepare and build