Add global var replacement to command entry.