another try to make custom index file work