Corrected path in database
supported empty string for "cd .."
supported cropped data to speed up