We have performed systematic first-principles calculations to tailor the magnetic properties at a hybrid organic-ferromagnetic interface by adsorbing organic molecules containing p(pz) electrons onto a magnetic substrate For such hybrid systems  magnetic properties such as molecular magnetic moments and their spatial orientation can be specifically tuned by substituting the H atoms with more electronegative atoms such as Cl and F