Added functionality to select engine in tex-File