function to run functions with the same prefix in subproject user namespaces