getting the path to the executing program