Updated based on feedback from Jack Nagel to not require x11