If directory exists keep working in it