Added copy command and cleaned up Scope object