WIP
Fixed chmod hell mess.