Fixed returning false even if command was run successfully