added exit code to unsupported platforms