added %C substitution to twi -command
added %C and %V substitutions to acommand
added %P and %V substitutions to dcommand