This should make it more reliable and also easier to re-use, if we need to. Resolves #2555
postgrest-profiled-run