added jpeg support
set console language in upstart script