moved parameter outside script