add engine dir