repaired liftover script, still need to add other cases