fix problem with mkdir
add detect for unzip, downloader and sudo