set serve static assets to true for production
 added before filter