add setupfor production
fix undelcared variable for assets compilation