command history support added