ruby script to pre-sign the policy