Improve the start_process function and sftp logontype