I wouldn't trust the code ChatGPT produces this blindly. It's a security risk vector as well as it just might not work or break something at worst. Bad idea to run AI generated code unsupervised like this