remove undeeded steps from prepare script