Adding action flag