add output file to debugtimer
fix typo
back to using time.time() instead of time.clock()
stepscan now dynamically checking for nscans from db