changed to contain all simulated sigs
changed permissions
strange merge because of changed file permissions
moved all variables into reg_type record (avoids comb. loop)
updated