added local flag for browser testing