add script to change class