I just discovered the simplest way of skipping the entire main quest in the simplest way, and yes, scripts will run through. You don't need to type a bunch of commands, just one.
player.setstage mq305 0
Just like that, and you'll go to the last quest and take it from there. It'll run through all scripts and quests up to that point and it'll all register well, it seems.