removed jpg from repo
Added comments to codescanner and made the shell script more robust