It is the responsibility of each local authority, in conjunction with their community planning partners, to allocate the funding on the basis of their local needs and priorities, taking into account their statutory obligations and jointly agreed national and local priorities.