The ascent script is likely not suitable for RSS/RO. In RSS/RO, you don't really coast to apoapsis. Instead, you often circularize at or after apoapsis (when you are falling back to earth). I also have an ascent script for RO/RSS, which basically does this:
- Go straight up
- At some predefined speed, make a gravity turn (speed differs per rocket, determined by trial and error)
- Let the rocket go prograde until altitude is over 100km and apogee is over 200km.
- Then if we didn't fall over our apogee, pitch slightly down. Once we fall over our apogee, pitch slightly up.
Most of my rockets typically circularize at apogee. Another advantage of my ascent script is that I simply let the rocket follow prograde throughout the dense parts of the atmosphere, so I can set 4x timewarp. (It takes 8-9 minutes usually to get into LEO. With 4x timewarp, this is 2-3 minutes).