finished subplot script