Added autocompletion, did some refactoring
Added syncdat.sh