Updated subprocess call