Adding WPA configuration
Init fix
Added chmod