fixed bug with missing same dir for a new install added ctrl+c hander to immediately stop the program instead of waiting