Replaced system exits with exceptions. Removed absolute path directories from output zip file.