changes to executethis to support postexecute