script for crowding index and files thereof