Add debug info, fix rack command