making a better scaffold script
improved scaffold script