Fixing script execution path for current directory, fixing missing page printout.