added way around permission problems