Fix subprocess command, add example script