make headers dynamic and flip execute bit