fix hook/command loading