Added deployment dependent action handling.
Added deployment dependent action handling.