updating script to work with new manifests