Fix PROMPT and add condition for default dir