script for bubbles