Made headers dynamic in view frontend/php.
Delete script now deletes script from everything frontend/php.