Initial changes to support active scripts.