Can you attach the script you are using now that is throwing the error on line 7?