adding possibility to set production or sandbox