github for ec504