Another hack to switch to get script instead of an ajax call