replace '.' with 'source'
remove unnecessary sudos
more work on making the bash scripts readable