Added possibility to execute a shell command when queue is finished, works with sftp