Just change /script to /run to save chars.
Code:
/run AcceptGroup();
/run AcceptQuest();
/run AcceptTrade();
/run RetrieveCorpse();
/run AcceptResurrect();
/run RepopMe();
/run ConfirmAcceptQuest();
/run StaticPopup_Hide("PARTY_INVITE");
/run StaticPopup_Hide("QUEST_ACCEPT");
-237 chars

Also, simply taking out the hiding of party and quest frames will give you more space - personally, I don't use them, because hitting esc doesn't bother me at all