Initial proc_open code