cd is functional now. Fixed indentation, because it was pissing me off