Fixed SOME of the stuff in cd.java >:D