Thanks for sharing this.... When I tried this I'm getting 'Bad gateway' .. Any ideas?