Added requirements
Use lib dir relative to the command
Removed stuff that isn't exported anymore