Tweeked and tested. Works perfectly.