full pipe env generation working. still some hardcoded parameters