set correct action and dump opts