Set a new variable, startdir_depth, to indicate how deep the