updated scaffold assemble script