stm_lib.php