fixing bug in datacardProduction.py, adding manager.py to automate job submissions