Updated so it works with Pathogen