Fixed build and run script
not working, so mark here so I can be major changes
Bounce logic now much better.
bit of a tidy up of commented out code and correcting variable names