Adjusted subprocess call