Hi Leisuretech,
These scripts are really intended for quick-fix defragmentations. I tend to keep fragmentation under control in the long term by using SQL maintenance plans. In SQL 2005 you can use the maintenance plan designer to quickly create pretty thorough plans.
I suggest using adding to your nightly backup SQL maintenance plans the task to reorganise your indexes, and once a week to perform a full rebuild. The full rebuild is pretty resource intensive, hence why just once a week. And the maintenance plans should always be scheduled for execution at night... ;-)
Kind Regards,
Ian./