add config to use staging config
fix: remove deprecation warnings
fix: syntax errors :(