Can anyone make this more elegant/professional

Here’s my script so far. Can anyone make this more elegant/professional for me please? I think this will help alot of people who use wacoms in max. Also will be happy to credit anyone who helps with it in the script.

All for the community folks.

fn selectionChanged =
(
if not (isCreatingObject()) do
max select
)
callbacks.removescripts #selectionSetChanged id:#myCallbackID
callbacks.addscript #selectionSetChanged “selectionChanged()” id:#myCallbackID

when select selection changes id:#test do
(
max select
)