changed program to use default log/error files rather than going to /tmp