Added code to process .pl script request