shebang for python3 added, minor chmod fixes, dos2unix for python and markdown files, accept hostname as API target