Allow customize package
Fix relative url to css option
Fix type and remove magic calls