Provide support for Torque parameter passing with -r resources flag. Fixes #280