How to create and destroy scaffold