Added die() statement to prevent any chance of further execution