updated manage py for future compatibility