read params from config