Generation of non-axisymmetric scrape-off layer perturbations for controlling tokamak edge plasma profiles and stabilitya)