replaced emp calls
updated heads and foots
Merge pull request #5 from KommuSoft/development

Index, thanks to KommuSoft!