click script fixes