working liftover script