Fixed hdevtools initializing, but it still needs to be improved