optimizations to script
tabs
add schedule