Minor fixes in dynamic_data scripts