added script name variable