build script... somewhat good =)