added config reader