Create special PBS file for qgpu@brume plus some refactoring