improved prepOptions() to allow parameters in referenced methods for option values