MDS: Improve python plugin to download and extract application