fix string expansion
1066109 - add script name argument when calling kickstart.profile.addScript()

The new parameter was added in e02e31a0588b144a752f468494bd120fef841318.
Added @Deprecation annotations
Removing trailing whitespace
Check for deprecation annotation vs. javadoc consistency