Working out the rails provision scripts.