Load shell scripts after the register is defined. [bug]