Making init work in staging and production env