updated and tested parts of the script to work with newest wallhaven site (not all features tested)