Added dash for mac query function