Added static_read and shell_cmd, improved write