return codes now work in windows