Fixed PATH, changes ~ to HOME