Cleans up directories and get relative paths to work
clean up