added option to gen .env; added option of inheritance from super config