Forked from https://github.com/eraseyourknees/msdl