another attempt to fix random script