Add custom error handlers for 404 and 500
Ignore tmp directory