change directory
del unused code