Changes in python back-end related to new NJS API for running apps.