move a file
minor change to integration funtion