Buildscript v1

Made buildscript work.