added a little shell script + bugfix