added function ask-password(), changes some temp paths