Update lift.sh

Moved output generating commands into a function