some misc script