Fixed some bugs, now pipeline loading works again