override sbt configuration with system properties and refactoring