add bootstrap function to Command prototype