Merged sidebar and productview scripts