added option to only write new resources

parameter /a adds only new entries to the output file leaving existing ones as they are