getting password option to password var
merging with script-password