Created script for index GET