tiny tweak on script command and command update