Fixing detached head and hoping for no merge conflicts.