Fix up error codes
Fix up the directory recursion device in install.sh