add bash wrapper to run perl and R