[UI] Bump up max length of hostname to 30 chars
[Events] cd to the scripts directory before running an event script