another attempt at a local/production static file solution