Refractored functions for managedistribution and viewloadamoutnscenarios plus fixing chrome cuke