Adding preActions and renaming actions to postActions