Fix profile bugs
Fix SQL bug
Can run whan not installed yet