sorted out /s and root
working on [1] substitution