Bug correction, + basic MPL init function