switched to check_call, also switched to from import for subprocess