Restore cpoptions

cpoptions were backup but not restored.