Working and tested script for Guess (version 1.0.3)