Made Pydrive Part into more functions