fixed newline issue
fixed script name
fixed script to take chef environment param
fixed required = false
arg