added: support for lastrun timestamp in datasource query