made more generic and added sublime text 3