Added scripts and a new scheme to build a static framework.