changed pipe subshell seq commands