Fixed some stuff and added more build scripts