Added sudo, quick check through especially formatting

I think this is ready to send to elderdryas