Added scala script, added -feature to output warnings