updated script parameters from positional to named