Fix script duplication