adding subprocess call