changed pipes to && like they should be