First stab at script
First stab at script
Got cbr detection working