trickle treat script for shell