modified rpsec and added specs