Fixed countdown and added config option