Edited to make it work with DigitalOcean