Usually people don't make the script right at first. But I wouldn't know what to do to fix it. Any suggestions?
I would take a look at the Output bar when testing scripts. You could read more about Output in the Scripting Glossary