Updated for special chars, and remove redundant Aster code
Initial refactor of config_secn script