Fixing directory change