Change a global variable to AMD parametre