getting started on a) refactor shell scripts b) external project support