Control of substituent ligand over current through molecular devices: An ab initio molecular orbital theory