added a profile function to default.py
deleted the header from the layout