works for all flag variations, still need to check for multiple src file calls thought