Resolved Errors by Using InlineScript