Fixed start up bug when launching for the second time and changed directory on other linux systems.