Running the scripts regularly is a good practice. It must be considered on priority as through this practice it is possible to keep a close eye on scripts and any errors if they come can be detected immediately. Identification of strategies which are reusable and writing it in a separate file is another practice to be followed. Adding appropriate comments and following the coding conventions are the other useful strategies.