Inserted Application activity - Richard to update JS script