replaced contrib script with simpler example