Script generation from web UI