Made path array items 1 based.