added support for flask and mongodb packages