updated color logger script, fixed init script