switch to spherical distance metric
serve static media in production