ensure prices dir and contract subdir