Updated to be used with Alfred v2