Added p7 comilation stuff.