updated service to allow for minification