Replacing Extension with scripts