added includes to header, fixed tasks for php