Added docs for Custom Python and reformatted code