compiling to static files