remove unnecessary legacy scripts and update repo files