edit run.sh
small update
add command validation
add validate bracket