refactored build.ion and builder/index