added wave script