using subprocess instead of commands