You should add a deprecation warning for the use of $scriptalias