added else for succesful readable
better if else for setting new path