rewrote python sctipt, privilege--