Finished withdrawal function. Added manageODProtect function.