First version of the prepare script.