adds program flags