make errors go to error logs
set application configs in wsgi script