added chunking script