Added contains_element to check if an element is already present in an array.
Use check if already present to evaluate if we should include some scripts.
Backup our user credentials if you're updating we'll just restore them.