Added code is not perfect but it get's the job done.
To upload the code to attiny 85 from Arduino UNO simply follow this link: http://highlowtech.org/?p=1229
When uploading and you have to choose the Attiny i usually coose Attiny85 @ 8MH (internal oscilator, BOD disabled)