added buildCommand routes, updated command routes