Add --retry option to limit retries
Added patch to /usr/bin/atom for python2 support