added prepare script