adds cfgreload command and function