Fixed #4, a terminal is now opened if sim is used