Updated code to sign apks