Exit code should be $? >> 8 instead of $?.
updated to new repo