//added _PS_CREATION_DATE_ in rewriteSettingsFile function