All scripts redirect to home page if no variables are passed to them