Fixed self-update without python2 and deployment without requirements