Implemented support for pre and post processing actions