Add script to build and run with optimisations