Script must be run from index