Update static and add compile script