changed handler to use system perl interpreter