working version for all 5 deployments. smaller backend jar.