add new changes to prepare script