add functions necessary for use with experiment_runner
add __main__ to demonstrate use with experiment_runner