shebang for python3 added, minor chmod fixes