some comments added to scaffold generator