Hopefully fixed script failing after docking