Fork of https://bitbucket.org/skiphs/amidst to fully work headless