Add configuration for configuring record on startup time

Please review. @nostra