Fixed cd script