Fixed traps scripts