Adjusted code for Digital Ocean Server