Use shlex.split() for splitting command string.
Add GPG signing option.
Remove unused code.