Fixed the inline scripts