fixed goingout script