Implement modify command
Add check on xld create
Improve xld modify to work with stdin