only build input hashes from options&args because command can contain path chars. This commit has basic functionality