Update pgnuke.py

changes made to invoke the main function.