executes commands