added secretkey file detector, tweaking for auto development/production recognition (settings applied based on host)