Changes for generating script for enterprise schema and additional index generation for creation date and LMD