modify engine support to use dynamic engine loading rather than old

static engine model