Made build script in saner language.