only setting heading if command specified