Changing how the admin scripts directory is detected.