modified simplified.prf and alignemnt.py