static files and update compile script