added debugging info for buildCommand