Yes. You basically need to trigger the last step of the home spell as soon as you start the ending sequence.
thanks i wouldn't of thought of trying that without your help