#44 Moved inline script where it belongs. Invoice indicator always returns 500 error though