Added a cude way to set the path to the aws command
Replace all single = comparisons with ==