Changed before_initialize to before_configuration to allow access to

As subject