Fixed field extension and script listener issues