make autoscreen.sh an independent script (not a function)