Fixed bug: date in JSON not interpreted as such
Programmes db added by mistake
Added a few checks on the input parameters
Changed parameter name
Not writing 'executing' if not downloading
Slightly smarter way to manage the input parameters