only run extra commands if there are any