Added multiselect compatibility and replace

useful if I have a script with many password placeholder that i need to replace with a password