Added wifi card preparations in the beginning of the script