rewrite read_mole_config() by perl sub read_config