moved script tag out of build