removed read -s option due to incompatibility with sh