Add flags to choose which operations to perform