Fixed issue3 - automatically detect engines