Added primitive modules loading, fixed #exec