Change path to include data directory
Remove MAX_ARRAY_SIZE
Fix zpath