Updated boot script for running on raspberrypi