Standard input reading support added