Reverted to the .matlab extension and added .m as another extension.