Made tele-scope a function, not a runnable script.
Added more error checks and defined exit statuses.
Added usage statement (not currently used)