adds options into array. Adds uninstall script