scaffold opt