replaced papermill with simple perl script