rework script for hex input decoys