divide script from index