Wrexham Council sets out time frame for improving "inadequat