Prscript v1.1

Updated version. With a bit more of error reporting.