add scripts for static builds