scripts lamp