added core and ruby setup scripts