Added flags and licensing