move waitproc script in src/