Moved debug, secret key settings to env variables.