Update scripts to be aware of latest phobos changes