fbsh: fixed assign and log commands