spn-conf: some fixes, dos2unix and changes thanks to fefifofum