Set correct path to base directory