script for getting small data