modified script to retrieve sources and javadoc