remove script name and another index skip