PA 3 main scripts added.