Bugfix-Release 0.3.1

Many fixes / improvements in all script files.