Added some ugly where support. For now it's not working. But i hope :)))