simplify specifying resource name and application name on resources