minor changes.

Creates /data when it doesn't exist.