Fix directory when calling from SSH
Fix colors and some minor improvements