Incomplete version of build scripts

To be continued tomorrow