Allow application to work in a directory