Using customizable options instead of global constants