I don't really have any advice but it's probably due to stress from Scout. The new carpet and paint may also have something to do with it too. Are you sure that Ripley doesn't have any health problems? If not then hopefully you'll be able to stop him from spraying in the future. Good luck and please keep us updated.