Utility to run .qs files