adding .sh scripts, fixing exceptions