changed flow for postRun activity