added regions feature to licences + small fixes