folder name static variable and setupAmbient function created