Added the beginnings of an intelligent build/run script