Note that medley.sh is just a symbolic link to medley.command (to accomodate MacOS). medley.command should not be edited directly. It is compiled from all the of the medley_*.sh components. The script compile.sh does this compile (with help from the inline.sh script).