Prison officers have renewed calls for a public inquiry into the running of Kilmarnock prison following an undercover BBC documentary.
The documentary raised concerns over the running of the prison
The Scottish Prison Officers Association said the Real Story "appeared to uncover significant failings" at the privately-run jail.
The programme filmed officers turning a blind eye to drugs and alcohol use.
The SPOA has lodged a motion at the STUC conference in Dundee, seeking support for a public inquiry.
An undercover reporter entered the prison to secretly film the Real Story programme, which was broadcast last month.
Removed from duty
He also found some prisoners on suicide watch were not checked regularly.
The SPOA said the problems were "putting the lives of individuals at risk".
James Barclay, 30, committed suicide in January, 2002, while on remand in Kilmarnock prison.
A fatal accident inquiry (FAI) into his death criticised Premier Prisons, the company which runs Kilmarnock jail.
Mr Barclay had been remanded in prison three days before he was found hanging in his cell.
Two prison staff were sacked after James Barclay's suicide
He had been a Level 3 "at risk" prisoner who should have been observed by prison guards every 30 minutes.
Sheriff Colin McKay's FAI determination said that if the two prison officers on duty at the time, Kevin Beck and Gordon Kelso, had carried out the observations, the death might have been prevented.
Premier Prisons said there had been changes in senior personnel at Kilmarnock Prison in the three years since Mr Barclay's death.
Both officers on duty at the time were sacked by the company after Mr Barclay took his own life.
Following the BBC documentary, Premier Prisons' Phil Edwards accepted there had been individual failures.
However, he defended staffing levels and training for new officers as "adequate".
Premier Prisons said three members of staff had been removed from training duties, although they were still working within the jail complex.