Addded some config vars and fixed the end line delim issue.