Fix script to edit vacancy for admin;