Added .modules startup support (fixed #7)