Few improvements for emacs auto deploy