Moved some hardcoded parameters into the config file