apply scaffold