Added the bounce script completely