#after and #before can now have multiple scope elements, improved demo profiles