add parameters defaulted and read from env