Add action option to custom commands