Troubleshooting deploy code and dict passing