upload 404.json; moved settings into __init__