application dir handling changed