Improve sprinkle script