correctly display puzzle (num) of (total) in custom scripts