Extract script and output component as class