bugfix for the logging flag
added a scan for dependencies . fixes #14