Added date prepend, config check function