Fixed bug in provision scripts.