Update extendedcommands.c