Automated control and optimisation of laser driven ion acceleration