attemp 2 at trying to fix the base dir

permission issues