commandline parameter added.
bugfixing.
not tested!