adding core.php

minor changes to flat sharing buttons