remove legacy commands in provision scripts