Create script for bulkindex