allow for procs in attachment options