Cleaner way of executing post module invoked