So is there a way that i can get the startup scripts for certain apps to only activate only certain conditions? like a uuid of a drive being mounted
man udev will show you the options for what you desire.
/etc/udev is the configuration directory
HTH,