shell invocation and magit fixed