Add sample preinstall script for echo plugin