Fixed script/console, extended readme and samples.