Provide debug and release flags
Implement line scattering