Update ships.sh

added get_config function