Updated Leafo default path and fixed some require_once statements