Update dice script to use new functions