added dependencies
removed error in logfile output