added improved logging, changed module path