change pwd and rnadom image