moved post function handling to pagegetfunction.py