Populate works from command line. Query script added.