rootdir commandline parameter added + some usability fixes