read prefix from command line