added hotlink block and small fixes