better config value checking and install setup