Rewrite weather query call
Fix references to db in backdoor