pass build options and command