Added signing

Only behind -Psign switch for now