logging now goes to a file
modified the call to script for using relative imports