There's no need to reset the colour every block
Make script executable