assets:install cleaned up code