[feature] chmod executables
[fix] caching deps.json issue
move clean up outside the normal install procedure