fixed paths in config.
fixed bugs in mailgun handler.