the xo is basically in charge of all the details of running a ship , making sure everyone and everything is running as the captain wants them to be running , and that the folk underneath her are prepared for anything the captain says needs to be done .