why is script test_command not working