No error handling at all, which could lead to major issues - especially when formatting something. I would add a big warning at the beginning of the script