Script prefix and logger improvements