run install on condition