Fixed bugs in the code that stores timestamp when analysis finishes
Resolution and type of analysis now specified as CLI options