shell script if exists directory