do nothing if command list is nil
add register-global