make exec optional