Crude but working support script