clean index-out and header if input 0
add multiple urls support
add missing semicolon
TODO