Make settings optional. Add comments. Make run forever.