improve elegant rpm installation
It seems that elegant is downloaded each time, even though it is installed.
Thus one should first check if elegant is installed and if so which version and only if they do not match the latest try installing it.
elegant|grep "This is elegant" |cut -d" " -f4|sed "s/,//"