Can’t you use a symbolic link to the mount directory in /media/ rather than using a mount script?