also add optional parameter to set whether to include filegroups and partition schemas in the script
also add optional parameter to set whether to include filegroups and partition schemas in the script